// pages/index6/index6.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  fn() {
    wx.setStorageSync('num', 100)
    wx.setStorageSync('list', [{ a: 1, b: 2 }])
  },
  fn1() {
    console.log(wx.getStorageSync("num"))
  },
  fn2() {
    wx.removeStorageSync('num')
  },
  fn3() {
    wx.clearStorageSync()
  }


})